@import '~styles/colors.less';

.picker {
  display: inline-block;
}

.selected {
  border-radius: 2px;
  border: 1px solid @chromeBordersColor;
  background-color: @chromeBackgroundDarkerColor;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  height: 100%;

  img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  &:hover {
    border-color: @primary;
  }
}

.icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: @chromeTextColor;
}

.unselect {
  color: @chromeTextColor;
  font-size: 11px;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 0;
  cursor: pointer;

  &:hover {
    color: @alert;
  }
}

.white {
  .selected {
    border: 1px solid @adminInputBorders;
    background-color: transparent;

    &:hover {
      border-color: @primary;
    }
  }
  .icon {
    color: @adminText;
  }
  .changeCover {
    opacity: 0;
  }
  .unselect {
    color: @adminText;

    &:hover {
      color: @alert;
    }
  }
}
